package com.yuyou.tas.lesson.vo.req;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.sql.Time;
import java.util.Date;

/**
 * Created by yujin.liu on 2018/5/21.
 */
public class ReqUpdateClassPlanChapter {

    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "id 不能为空")
    private Long id;

    @ApiModelProperty(value = "id", required = false)
    @NotNull(message = "id 不能为空")
    private Long chapterId;

    @ApiModelProperty(value = "排课日期", required = true)
    @NotNull(message = "排课日期 不能为空")
    private Date planDate;

    @ApiModelProperty(value = "上课时段开始", required = true)
    @NotBlank(message = "排课日期 不能为空")
    private String planStartTime;

    @ApiModelProperty(value = "上课时段结束", required = true)
    @NotBlank(message = "排课日期 不能为空")
    private String planEndTime;

    @ApiModelProperty(value = "代课老师id", required = false)
    @NotNull(message = "排课日期 不能为空")
    private Long teacherId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getChapterId() {
        return chapterId;
    }

    public void setChapterId(Long chapterId) {
        this.chapterId = chapterId;
    }

    public Date getPlanDate() {
        return planDate;
    }

    public void setPlanDate(Date planDate) {
        this.planDate = planDate;
    }

    public String getPlanStartTime() {
        return planStartTime;
    }

    public void setPlanStartTime(String planStartTime) {
        this.planStartTime = planStartTime;
    }

    public String getPlanEndTime() {
        return planEndTime;
    }

    public void setPlanEndTime(String planEndTime) {
        this.planEndTime = planEndTime;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
}
